package com.jic.member.exception;

import lombok.Getter;

/**
 * description: BaseException
 * date: 2020/3/9 19:13
 * author: wangys
 * version: 1.0
 */
@Getter
public class BaseException extends RuntimeException {

    protected String respCode;

    public BaseException() {
        super();
    }

    public BaseException(String respCode) {
        super();
        this.respCode = respCode;
    }

    public BaseException(String respCode, String s) {
        super(s);
        this.respCode = respCode;
    }

    public BaseException(String respCode, String s, Throwable throwable) {
        super(s, throwable);
        this.respCode = respCode;
    }

    public BaseException(String respCode, Throwable throwable) {
        super(throwable);
        this.respCode = respCode;
    }

    protected BaseException(String respCode, String s, Throwable throwable, boolean b,
                            boolean b1) {
        super(s, throwable, b, b1);
        this.respCode = respCode;
    }
}
